// 1引入相关依赖
import ts from 'rollup-plugin-typescript2' // 解析ts
import json from '@rollup/plugin-json' // 解析json
import resolvePlugin from '@rollup/plugin-node-resolve' // 解析第三方依赖
import path from 'path'

// 2获取文件路径
let packagesDir = path.resolve(__dirname,'packages') // 获取项目的绝对路径

// 2.1获取需要打包的包
let packageDir = path.resolve(packagesDir,process.env.TRAGET)
console.log(packageDir,999);